﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    RegistrarSolicitud_Insumos
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
    <script src="../../../Scripts/Solicitud_Insumos.js" type="text/javascript"></script>
<style type = "text/css">
        *{
	margin: 0;
	padding: 0;
}

body {
	font-size: 62.5%;
	font-family: Helvetica, sans-serif;
}

p {
	font-size: 1.3em;
	margin-bottom: 15px;
}

#page-wrap {
	width: 660px;
	background: white;
	padding: 20px 50px 20px 50px;
	margin: 20px auto;
	min-height: 500px;
	height: auto !important;
	height: 500px;
}

#page-wrap2{
	width: 660px;
	background: white;
	padding: 20px 50px 20px 50px;
	margin: 20px auto;
	min-height: 500px;
	height: auto !important;
	height: 500px;
}

#page-wrap3{
	width: 660px;
	background: white;
	padding: 20px 50px 20px 50px;
	margin: 20px auto;
	min-height: 500px;
	height: auto !important;
	height: 500px;
}

#Botones{
    width: 600px;
	margin-top: 25px;
}


#contact-area3{
    width: 600px;
	margin-top: 25px;
}

#contact-area3 input, #contact-area textarea {
	padding: 5px;
	width: 471px;
	font-family: Helvetica, sans-serif;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px;
	border: 2px solid #ccc;
}

#contact-area3 input.submit-button {
	width: 100px;
	float: right;
	border: 2px solid #ccc;
}

#contact-area3 textarea:focus, #contact-area input:focus {
	border: 2px solid #900;
}

#Botones input.submit-button {
	width: 100px;
	float: right;
	border: 2px solid #ccc;
}

#contact-area4{
	width: 600px;
	margin-top: 25px;
}

#contact-area4 input, #contact-area textarea {
	padding: 5px;
	width: 471px;
	font-family: Helvetica, sans-serif;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px;
	border: 2px solid #ccc;
}

#contact-area4 input.submit-button {
	width: 100px;
	float: right;
	border: 2px solid #ccc;
}

/*#contact-area4 tablaDinamica 
{
    padding: 5px;
	width: 201px;
	font-family: Helvetica, sans-serif;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px;
	border: 2px solid #ccc;    
}*/

#contact-area4 th 
{
    border:1px dotted 5E93B5;
    padding: 10px; 
    font-family: Helvetica, sans-serif;
    font-size: 1.4em;
}

#contact-area4 th 
{
    font-size: 1.4em;
    font-family: Helvetica, sans-serif;
    border-top: 2px solid 5E93B;
    border-right: 1px dotted #416D89;
    border-left:1px dotted #416D89;
    border-bottom:none;
    padding-top:10px;
    padding-right:3px;
    padding-left:20px;
    padding-bottom:12px;
}

#contact-area4 textarea:focus, #contact-area input:focus {
	border: 2px solid #900;
}

#contact-area input, #contact-area textarea {
	padding: 5px;
	width: 471px;
	font-family: Helvetica, sans-serif;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px;
	border: 2px solid #ccc;
}

#contact-area select{
	float: left;
	text-align: left;
	margin-right: 12px;
	width: 100px;
	padding-top: 5px;
	font-size: 1.4em;
}

#contact-area textarea {
	height: 90px;
}

#contact-area textarea:focus, #contact-area input:focus {
	border: 2px solid #900;
}

#contact-area input.submit-button {
	width: 100px;
	float: right;
}

#contact-area label{
	float: left;
	text-align: left;
	margin-right: 15px;
	width: 150px;
	padding-top: 5px;
	font-size: 1.4em;
}

select {
	float: left;
	text-align: left;
	margin-right: 10px;
	width: 100px;
	height: auto;
	padding-top: 5px;
	font-size: 1.4em;
}
 
label {
	float: left;
	text-align: right;
	margin-right: 10px;
	width: 150px;
	padding-top: 5px;
	font-size: 1.4em;
}

input {
	float: left;
	text-align: left;
	margin-right: 10px;
	width: 200px;
	padding-top: 5px;
	font-size: 1.4em;
}

button {
	float: left;
	margin-left: 20px;
	/*padding-top: 5px;
	font-size: 1.4em;*/
}

textarea {
	float: left;
	text-align: left;
	margin-right: 10px;
	width: 400px;
	padding-top: 5px;
	font-size: 1.4em;
}

#contact-area input{
	float: left;
	text-align: left;
	margin-right: 15px;
	width: 200px;
	padding-top: 5px;
	font-size: 1.4em;
}                                                                                                                                                                                                                                                                                                     

/*label,input { display:block; }*/
/*input.text { margin-bottom:12px; width:200; padding: .4em; }*/
fieldset { padding:0; border:0; margin-top:25px; }
h1 { font-size: 1.2em; margin: .6em 0; }
div#users-contain { width: 350px; margin: 20px 0; }
div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
.ui-dialog .ui-state-error { padding: .3em; }
.validateTips { border: 1px solid transparent; padding: 0.3em; }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

div#users-contain 
{
    margin-left:auto;
    margin-right: auto;
    /*margin: 20px 12 20px 0;*/
    width: 433px;
}

div#users-contain table {
    border-collapse: collapse;
    margin: 1em 0;
    width: 100%;
}

div#users-contain table td, div#users-contain table th {
    border: 1px solid #EEEEEE;
    padding: 0.6em 10px;
    text-align: left;
}

/*.syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhighlighter table, .syntaxhighlighter table td, .syntaxhighlighter table tr, .syntaxhighlighter table tbody, .syntaxhighlighter table thead, .syntaxhighlighter table caption, .syntaxhighlighter textarea {
    background: none repeat scroll 0 0 transparent !important;
    border: 0 none !important;
    border-radius: 0 0 0 0 !important;
    bottom: auto !important;
    float: none !important;
    font-family: "Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;
    font-size: 1em !important;
    font-style: normal !important;
    font-weight: normal !important;
    height: auto !important;
    left: auto !important;
    line-height: 1.1em !important;
    margin: 0 !important;
    min-height: auto !important;
    outline: 0 none !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    right: auto !important;
    text-align: left !important;
    top: auto !important;
    vertical-align: baseline !important;
    width: auto !important;
}


.syntaxhighlighter table td.code {
    width: 100% !important;
}


.syntaxhighlighter table {
    width: 100% !important;
}
.syntaxhighlighter table caption {
    padding: 0.5em 0 0.5em 1em !important;
    text-align: left !important;
}
.syntaxhighlighter table td.code {
    width: 100% !important;
}
.syntaxhighlighter table td.code .container {
    position: relative !important;
}
.syntaxhighlighter table td.code .container textarea {
    background: none repeat scroll 0 0 white !important;
    border: medium none !important;
    height: 100% !important;
    left: 0 !important;
    overflow: hidden !important;
    padding-left: 1em !important;
    position: absolute !important;
    top: 0 !important;
    white-space: pre !important;
    width: 100% !important;
}
.syntaxhighlighter table td.gutter .line {
    padding: 0 0.5em 0 1em !important;
    text-align: right !important;
}
.syntaxhighlighter table td.code .line {
    padding: 0 1em !important;
}

}
.syntaxhighlighter.collapsed table {
    display: none !important;
}
*/


        .style1
        {
            width: 42px;
        }


    </style>

<%--script type = "text/javascript">
    jQuery(document).ready(function () {
        jQuery("#list2").jqGrid({            
            var enviar = {
                RUC: $("#Text2").attr("value"),
                RazonSocial: $("#Text1").attr("value")
            }
            var jsonData = JSON.stringify(enviar);

            $.ajax({
            type: "POST",
            data: jsonData,
            dataType: "json",
            contentType: "application/json; charset=utf-8",
            url: "prueba"
            });
            colNames: ['Inv No','Date','Client','Amount','Tax','Total','Notes'],
            colModel: [
                      {name:'id',index:'id',width:55},
                      {name:'invdate',index:'invdate',width:90},
                      {name:'name',index:'name asc,invdate',width:100},
                      {name:'amount',index:'amount', width:80, align:"right"},
   		              {name:'tax',index:'tax', width:80, align:"right"},		
   		              {name:'total',index:'total', width:80,align:"right"},		
   		              {name:'note',index:'note', width:150, sortable:false}	
            ],
            rowNum:10,
            rowList:[10,20,30],
            pager: '#pager2',
            sortname: 'id',
            viewrecords: true,
            sortorder: "desc"
        });
    });
</script>--%>


<div id = "registro">
                               <label for="monto_total">Monto Total:</label>
                               <input type="text" name="monto_totalL" id="monto_total" class="text ui-widget-content ui-corner-all"/><br></br>
                        
                               <label for="esta_aprobado">Aprobado:</label>
                               <select id="esta_aprobado" name="SelectAprobadoL" class="text ui-widget-content ui-corner-all">
			       <option></option>
                               <option>Si</option>
                               <option>No</option>
			       </select><br></br>

                               <label for="Edificio">Edificio:</label>
                               <select id="Edificio" name="SelectEdificio" class="text ui-widget-content ui-corner-all"></select><br></br>

                               <br></br>
                               <input type="submit" id = "botonRegistro" value="Registrar" class="submit-button" style="margin-left:400px; width:auto;"/>
                               <input type="submit" id = "botonCancelar" value="Cancelar" class="submit-button" style="margin-left:20px; width:auto;"/>
               
</div>
</asp:Content>
